package com.travelparadise.domain;

import java.util.HashSet;
import java.util.Set;

public class Activite {
	private int id;
	private String nom;
	private double prix;
	private Set<Ville> villes;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public double getPrix() {
		return prix;
	}

	public void setPrix(double prix) {
		this.prix = prix;
	}

	public Set<Ville> getVilles() {
		return villes;
	}

	public void setVilles(Set<Ville> villes) {
		this.villes = villes;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer("Activite id : "+id+", ");
		sb.append("nom : "+nom+", ");
		sb.append("prix : "+prix);		
		return super.toString();
	}
	
	

}
